import java.util.Scanner;
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LEGION
 * Date: 2023-04-26
 * Time: 20:38
 public
 */

//class Test {
//    public static void hello() {
//        System.out.println("hello");
//    }
//}
public class J230426 {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Data data = new Data(x, y);
            System.out.println(data.getX() + data.getY());
        }
    }
}
    class Data {

        private int x;
        private int y;

        public Data(int x, int y) {
            this.x = x;
            this.y = y;
        }

        public int getX() {
            return x;
        }

        public int getY() {
            return y;
        }

    }

//    public int aMethod(){
//        static int i = 0;
//        i++;
//        return i;
//    }
//        public static void main(String args[]){
//            Test test = new Test();
//            test.aMethod();
//            int j = test.aMethod();
//            System.out.println(j);
//        }
//    }
//    public static void main1(String[] args) {
//        // TODO Auto-generated method stub
//        Test test=null;
//        test.hello();
//    }

